package com.viewpagertext.Model;

import androidx.annotation.NonNull;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

/**
 * @author ironjam
 * @version 1.0
 * @project AndroidMusic-master
 * @description 用户类
 * @date 2024/6/6 14:40:08
 */
@Entity
public class User {
    @PrimaryKey
    public int id;

    @NonNull
    public String getUserName() {
        return UserName;
    }

    public void setUserName(@NonNull String userName) {
        UserName = userName;
    }

    @NonNull
    public String getPassWord() {
        return PassWord;
    }

    public void setPassWord(@NonNull String passWord) {
        PassWord = passWord;
    }

    @NonNull
    String UserName;
    @NonNull
    String PassWord;
}
